package cn.sharp.bbs.service;

import cn.sharp.bbs.entity.BO.CurrentUser;
import cn.sharp.bbs.entity.DO.Report;
import cn.sharp.bbs.entity.DO.ReportDto;
import cn.sharp.bbs.entity.DO.ReportReason;

import java.util.List;

/**
 * @author zhao yu
 */
public interface ReportService {

    List<ReportReason> getReasonList(int type);

    boolean checkID(int type, long id);

    void report(Report record);

    List<ReportDto> getReportList();

    void pass(ReportDto reportDto);

    void reject(Long id, CurrentUser user);
}
